<?php
/**
 * 路由注册
 *
 * 以下代码为了尽量简单，没有使用路由分组
 * 实际上，使用路由分组可以简化定义
 * 并在一定程度上提高路由匹配的效率
 */
use think\Route;
Route::get('api/:version/constant/getConstants', 'api/:version.Constant/getConstants');
Route::post('api/:version/login/login', 'api/:version.Login/login');
Route::post('api/:version/cashController/getPlans', 'api/:version.CashController/getPlans');
Route::get('api/:version/cashController/getBooks', 'api/:version.CashController/getBooks');
Route::get('api/:version/cashController/getInfos', 'api/:version.CashController/getInfos');
Route::get('api/:version/cashController/getInfoWithBook', 'api/:version.CashController/getInfoWithBook');
Route::get('api/:version/cashController/saveBook', 'api/:version.CashController/saveBook');
Route::post('api/:version/cashController/updateBookStates', 'api/:version.CashController/updateBookStates');
Route::get('api/:version/cashController/sortList', 'api/:version.CashController/sortList');
Route::get('api/:version/cashController/updateLight', 'api/:version.CashController/updateLight');
Route::get('api/:version/cashController/saveInfo', 'api/:version.CashController/saveInfo');
Route::get('api/:version/cashController/deleteInfo', 'api/:version.CashController/deleteInfo');
Route::post('api/:version/cashController/updateData', 'api/:version.CashController/updateData');
Route::post('api/:version/cashController/updatePlanRemark', 'api/:version.CashController/updatePlanRemark');
Route::get('api/:version/cashController/updatePlanState', 'api/:version.CashController/updatePlanState');
Route::post('api/:version/excelController/excelCopy', 'api/:version.ExcelController/excelCopy');
Route::post('api/:version/excelController/base64imgsave', 'api/:version.ExcelController/base64imgsave');
Route::get('api/:version/cashController/updateBudgerate', 'api/:version.CashController/updateBudgerate');
Route::get('api/:version/cashController/getSystemJson', 'api/:version.CashController/getSystemJson');
Route::get('api/:version/cashController/deletePlan', 'api/:version.CashController/deletePlan');
Route::get('api/:version/cashController/copyPlan', 'api/:version.CashController/copyPlan');
Route::get('api/:version/cashController/getRate', 'api/:version.CashController/getRate');
Route::get('api/:version/cashController/updateBetchBalance', 'api/:version.CashController/updateBetchBalance');
Route::get('api/:version/cashController/generate', 'api/:version.CashController/generate');
